<template>
  <keep-alive>
    <Cloud />
  </keep-alive>
  <router-view></router-view>
</template>

<script lang="ts">
import { defineComponent } from "vue";
import { useMessage } from "naive-ui";
import Rain from "./layout/rain.vue";
import Cloud from "./layout/cloud.vue";
export default defineComponent({
  name: "Main",
  setup() {
    window.$message = useMessage();
  },
  data() {
    return {};
  },
  components: {
    Rain,
    Cloud,
  },
});
</script>

<style lang='scss'>
@import url("./styles/_reset.scss");

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "Lato";
}
#app {
  width: 100%;
  height: 100%;
  position: relative;
}
</style>
